package com.applet.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Hello world!
 *
 */
// 激活eureka中的DiscoveryClient实现
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients
@EnableCaching
@MapperScan("com.applet.api.dao")
public class ApiWebApplication
{
    public static void main(String[] args) {
        SpringApplication.run(ApiWebApplication.class, args);
    }
}
